import { get, post } from '@/utils/request'

export const getUserInfo = () => get('api/users', null);
export const login = (params: any) => post('api/login', params);